//引入mysql
const mysql=require("mysql");
//c、创建连接池
const pool=mysql.createPool({
    host:"127.0.0.1",
    port:"3306",
    user:"root",
    password:"",
    database:"menu",
    connectionLimit:20
});
module.exports=pool;